home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000084_fdc@panix.com_Mon Feb 26 15:07:51 2007.msg
< prev
next >
Wrap
Text File
|
2018-01-01
|
3KB
|
45 lines
Path: reader2.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris
Subject: Re: SSL Solaris 9 compile errors
Followup-To: comp.protocols.kermit.misc
Date: Mon, 26 Feb 2007 20:07:37 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 27
Message-ID: <slrneu6fg9.ci2.fdc@panix3.panix.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com> <slrnet95nd.1b6.fdc@panix2.panix.com> <1171585254.113397.40400@v33g2000cwv.googlegroups.com> <slrnetc6ch.8ae.fdc@panix1.panix.com> <1172066927.099583.146980@j27g2000cwj.googlegroups.com> <slrnetp1rf.1j0.fdc@panix1.panix.com> <1172090871.101683.127130@l53g2000cwa.googlegroups.com> <slrnetro08.nif.fdc@panix3.panix.com> <1172503554.928519.186200@z35g2000cwz.googlegroups.com> <1172514930.916740.42000@a75g2000cwd.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader2.panix.com 1172520457 28671 166.84.1.3 (26 Feb 2007 20:07:37 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Mon, 26 Feb 2007 20:07:37 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15656 comp.unix.solaris:550175
On 2007-02-26, Gary Quiring <gquiring@gmail.com> wrote:
: By including the 'undef EM' line in ck_ssl.h kermit compiles clean
: once I changed openssl to use shared vs static libs. With shared libs
: Kermit still does not compile unless I use the 'undef EM' line. So
: the million dollar question, what does that 'undef EM' do?
:
Honestly, I have no idea. Again, I have Solaris 9 and OpenSSL 0.9.8d here
too, just like you, and I'm building it with Sun CC (not gcc), just like you,
and C-Kermit/SSL builds with no problem. There is no #define EM anywhere in
the C-Kermit source code, so the #undef must be to undo some conflict between
OpenSSL and Solaris headers. But in that case, why do you see the problem and
I don't -- nor, as far as I know, anybody else?
I notice that the suggested location for the #undef is right after this:
#ifdef ZLIB
#include <openssl/comp.h>
#endif /* ZLIB */
Maybe comp.h, or something it includes (such as crypto.h), or something
crypto.h includes, or something that one of those includes, and on and on,
is the culprit.
You can build Kermit with SSL but without compression. Just omit the
-DZLIB switch. See if that makes a difference.
- Frank